home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NBC Slam Jams!
/
NBC Slam Jams!.iso
/
nbademo.exe
/
CABFILE
/
IDR_CABFILE
/
Data
/
UIScript
/
MAIN.UI
< prev
next >
Wrap
Text File
|
1999-06-16
|
17KB
|
825 lines
"2D\UI\Startup"
//********************************
// Data container
//********************************
DataContainer {
Int "SeasonPlayGameChanged" {
InitialValue 0;
};
Int "PlayoffsGameChanged" {
InitialValue 0;
};
String "CurrContextHelpID" {
InitialValue "Startup_Menu";
};
};
//********************************
// Images
//********************************
Image "StartUpLogo1" {
Filename "sulogo1";
Position [284, 182];
};
Image "HiddenEnabled" {
Filename "Hiddene";
};
Image "StartUpMan1" {
Filename "pippen";
Position [548, 182];
};
Image "StartUpMan2" {
Filename "baker";
Position [338, 123];
};
Image "StartUpMan3" {
Filename "allen1";
Position [120, 0];
};
Image "StartUpUp1" {
Filename "up2";
Blend SeventyFiveOpacity;
};
Image "StartUpUp4" {
Filename "up2";
Position [60, 43];
Blend SeventyFiveOpacity;
};
Image "StartUpStart1" {
Filename "start2";
Blend SeventyFiveOpacity;
};
Image "StartUpStart4" {
Filename "start2";
Position [150, 177];
Blend SeventyFiveOpacity;
};
Image "StartUpBlurryText" {
Filename "blurry";
};
Image "StartUpBlurry" {
Filename "blurry";
Position [330, 260];
};
Image "StartUpBigCircle" {
Filename "circ3";
Position [15, 0];
};
Image "StartUpFadedBigCircle" {
Filename "circ3";
Position [15, 0];
Blend Half;
};
Image "StartUpMedCircle" {
Filename "circ2";
Position [65, 0];
};
Image "StartUpFadedMedCircle" {
Filename "circ2";
Position [65, 0];
Blend Half;
};
Image "StartUpFadedLilCircle" {
Filename "circ1";
Position [190, 0];
Blend Half;
};
Image "StartUpLilCircle" {
Filename "circ1";
Position [190, 0];
};
Image "StartUpStartUp"{
Filename "startup";
Position [0, 285];
};
Image "StartUpLine" {
Filename "line";
Blend Half;
Position [0, 300];
};
Image "StartUpPlayOffEnabled" {
Filename "playoff1";
};
Image "StartUpPlayOffDisabled" {
Filename "butd";
};
Image "StartUpPlayOffFocused" {
Filename "playoff2";
};
Image "StartUpPlayOffPushed" {
Filename "playoff3";
};
Image "StartUpSeasonEnabled" {
Filename "season1";
};
Image "StartUpSeasonFocused" {
Filename "season2";
};
Image "StartUpSeasonPushed" {
Filename "season3";
};
Image "StartUpSingleEnabled" {
Filename "single1";
};
Image "StartUpSingleFocused" {
Filename "single2";
};
Image "StartUpSinglePushed" {
Filename "single3";
};
Image "StartUpBuildWordS" {
Filename "s";
};
Image "StartUpBuildWordSx" {
Filename "s";
Position [760,285];
};
Image "StartUpBuildWordT" {
Filename "t";
};
Image "StartUpBuildWordTx" {
Filename "t";
Position [760, 285];
};
Image "StartUpBuildWordA" {
Filename "a";
};
Image "StartUpBuildWordAx" {
Filename "a";
Position [760, 285];
};
Image "StartUpBuildWordR" {
Filename "r";
};
Image "StartUpBuildWordRx" {
Filename "r";
Position [760, 285];
};
Image "StartUpBuildWordU" {
Filename "u";
};
Image "StartUpBuildWordUx" {
Filename "u";
Position [760, 285];
};
Image "StartUpBuildWordP" {
Filename "p";
};
Image "StartUpBuildWordPx" {
Filename "p";
Position [760, 285];
};
Image "StartUpSmallText" {
Filename "startup";
};
Image "StartUpRedEnabled" {
Filename "load";
};
Image "StartUpRedDisabled" {
Filename "redd";
};
Image "StartUpRedPushed" {
Filename "loadp";
};
Image "StartUpRedFocused" {
Filename "loadf";
};
Image "StartUpLoadSaveAlphaBack" {
Filename "alpha";
};
Image "StartUpTonightsGamePushedButton" {
Filename "ButPush";
};
Image "StartUpTonightsGameEnabledButton" {
Filename "ButEnab";
};
Image "StartUpTonightsGameFocusedButton" {
Filename "ButFocu";
};
//********************************
// Animations
//********************************
Animation "StartUpManPreview" {
FramesPerSecond 15;
FadeIn {Image "StartUpMan1"; Frames 5;};
FadeOut {Image "StartUpMan1"; Frames 5;};
FadeIn {Image "StartUpMan2"; Frames 5;};
FadeOut {Image "StartUpMan2"; Frames 5;};
FadeIn {Image "StartUpMan3"; Frames 5;};
};
Animation "StartUpManPreview2" {
FramesPerSecond 15;
FadeIn {Image "su1"; Frames 5;};
FadeOut {Image "su1"; Frames 5;};
FadeIn {Image "su2"; Frames 5;};
FadeOut {Image "su2"; Frames 5;};
FadeIn {Image "su3"; Frames 5;};
};
Animation "StartUpStartPreview" {
FramesPerSecond 15;
Move {Image "StartUpStart1"; Frames 25;
From Position [150, 600];
To Position [150, 177];
};
};
Animation "StartUpUpPreview" {
FramesPerSecond 15;
Move {Image "StartUpUp1"; Frames 25;
From Position [60, -198];
To Position [60, 43];
};
};
Animation "StartUpCircles" {
Loop;
FramesPerSecond 2;
Image "StartUpLilCircle";
Image "StartUpMedCircle";
Image "StartUpBigCircle";
};
Animation "StartUpFadedMedCircle" {
FramesPerSecond 2;
Pause 1;
Image "StartUpFadedMedCircle";
};
Animation "StartUpFadedBigCircle" {
FramesPerSecond 2;
Pause 2;
Image "StartUpFadedBigCircle";
};
Animation "StartUpBlurryFade" {
FramesPerSecond 15;
Pause 24;
FadeIn {Image "StartUpBlurry"; Frames 5;};
};
Animation "StartUpBuildText" {
FramesPerSecond 15;
Pause 1;
Move {Image "StartUpBuildWordS"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordS"; Frames 2;
From Position [500, 285];
To Position [0, 285];
};
};
Animation "StartUpBuildText2" {
FramesPerSecond 15;
Pause 4;
Move {Image "StartUpBuildWordT"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordT"; Frames 2;
From Position [500, 285];
To Position [31, 285];
};
};
Animation "StartUpBuildText3" {
FramesPerSecond 15;
Pause 7;
Move {Image "StartUpBuildWordA"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordA"; Frames 2;
From Position [500, 285];
To Position [53, 285];
};
};
Animation "StartUpBuildText4" {
FramesPerSecond 15;
Pause 10;
Move {Image "StartUpBuildWordR"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordR"; Frames 2;
From Position [500, 285];
To Position [86, 285];
};
};
Animation "StartUpBuildText5" {
FramesPerSecond 15;
Pause 13;
Move {Image "StartUpBuildWordT"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordT"; Frames 2;
From Position [500, 285];
To Position [117, 285];
};
};
Animation "StartUpBuildText6" {
FramesPerSecond 15;
Pause 16;
Move {Image "StartUpBuildWordU"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordU"; Frames 2;
From Position [500, 285];
To Position [145, 285];
};
};
Animation "StartUpBuildText7" {
FramesPerSecond 15;
Pause 19;
Move {Image "StartUpBuildWordP"; Frames 3;
From Position [760, 285];
To Position [600, 285];
};
Move {Image "StartUpBuildWordP"; Frames 2;
From Position [500, 285];
To Position [173, 285];
};
};
Animation "StartUpSmallText" {
Loop;
FramesPerSecond 15;
Move {
Image "StartUpSmallText";
From Position [0, 285];
To Position [550, 285];
Frames 150;
};
Move {
Image "StartUpSmallText";
From Position [550, 285];
To Position [0, 285];
Frames 150;
};
};
Animation "StartUpBlurryText" {
Loop;
FramesPerSecond 15;
Move {
Image "StartUpBlurryText";
From Position [330, 260];
To Position [0, 260];
Frames 200;
};
Move {
Image "StartUpBlurryText";
From Position [0, 260];
To Position [330, 260];
Frames 200;
};
};
//********************************
// Image Sets
//********************************
ImageSet "StartUpImageSetPreview" {
Animation "StartUpStartPreview";
Animation "StartUpUpPreview";
Animation "StartUpBlurryFade";
Animation "StartUpBuildText";
Animation "StartUpBuildText2";
Animation "StartUpBuildText3";
Animation "StartUpBuildText4";
Animation "StartUpBuildText5";
Animation "StartUpBuildText6";
Animation "StartUpBuildText7";
Animation "StartUpManPreview";
};
//********************************
// Fonts
//********************************
Font "StartupModeButtonsEnabled" {
Filename "SiglFnt1";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz'";
};
Font "StartupModeButtonsFocused" {
Filename "SiglFnt2";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz'";
};
Font "StartupModeButtonsDisabled" {
Filename "butfntd";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz'";
};
Font "StartupModeButtonsPushed" {
Filename "SiglFnt3";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz'";
};
Font "StartupRedEnabled" {
Filename "loadFont";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz";
};
Font "StartupRedPushed" {
Filename "ldFntP";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz";
};
Font "StartupRedFocused" {
Filename "ldFntFoc";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz";
};
Font "StartupRedDisabled" {
Filename "redfntd";
Kerning 1;
Translate " abcdefghijklmnopqrstuvwxyz";
};
Font "StartUpTonightsGamePushedFont" {
Filename "Pushfnt";
Translate "abcdefghijklmnopqrstuvwxyz";
Kerning 1;
};
Font "StartUpTonightsGameEnabledFont" {
Filename "Enabfnt";
Translate "abcdefghijklmnopqrstuvwxyz";
Kerning 1;
};
Font "StartUpTonightsGameFocusedFont" {
Filename "Focufnt";
Translate "abcdefghijklmnopqrstuvwxyz";
Kerning 1;
};
//********************************
// Styles
//********************************
Style "MainCursorStyle" {
Image "NormalCursor" {
FileName "cursors\cursor1";
Position [-4, -2];
};
Image "HighlightCursor" {
FileName "cursors\cursor2";
Position [-4, -2];
};
};
GroupStyle "StartupStyle" {
Image "StartUpLogo1";
Preview ImageSet "StartUpImageSetPreview";
Image "StartUpFadedLilCircle";
Animation "StartUpFadedMedCircle";
Animation "StartUpFadedBigCircle";
Animation "StartUpCircles";
Image "StartUpLine";
Image "StartUpUp4";
Image "StartUpStart4";
Animation "StartUpBlurryText";
Animation "StartUpSmallText";
Image "StartUpMan3";
};
Style "StartUpLoadSaveParent" {
Image "StartUpLoadSaveAlphaBack";
};
ButtonStyle "StartUpHiddenButton" {
Enabled Image "HiddenEnabled";
Pushed Image "HiddenEnabled";
Focused Image "HiddenEnabled";
};
ButtonStyle "StartUpSingleGameStyle" {
Enabled Image "StartUpSingleEnabled";
Pushed Image "StartUpSinglePushed";
Focused Image "StartUpSingleFocused";
Enabled Font "StartupModeButtonsEnabled";
Pushed Font "StartupModeButtonsPushed";
Focused Font "StartupModeButtonsFocused";
};
ButtonStyle "StartUpSeasonStyle" {
Disabled Image "StartUpPlayOffDisabled";
Enabled Image "StartUpSeasonEnabled";
Pushed Image "StartUpSeasonPushed";
Focused Image "StartUpSeasonFocused";
Enabled Font "StartupModeButtonsEnabled";
Pushed Font "StartupModeButtonsPushed";
Focused Font "StartupModeButtonsFocused";
Disabled Font "StartupModeButtonsDisabled";
};
ButtonStyle "StartUpPlayoffStyle" {
Disabled Image "StartUpPlayOffDisabled";
Enabled Image "StartUpPlayOffEnabled";
Pushed Image "StartUpPlayOffPushed";
Focused Image "StartUpPlayOffFocused";
Enabled Font "StartupModeButtonsEnabled";
Pushed Font "StartupModeButtonsPushed";
Focused Font "StartupModeButtonsFocused";
Disabled Font "StartupModeButtonsDisabled";
};
ButtonStyle "StartUpLoadSaveDeleteStyle" {
Disabled Image "StartUpRedDisabled";
Enabled Image "StartUpRedEnabled";
Focused Image "StartUpRedFocused";
Pushed Image "StartUpRedPushed";
Enabled Font "StartupRedEnabled";
Pushed Font "StartupRedPushed";
Focused Font "StartupRedFocused";
Disabled Font "StartupRedDisabled";
};
ButtonStyle "StartUpTeamEditorStyle" {
Enabled Image "StartUpRedEnabled";
Focused Image "StartUpRedFocused";
Pushed Image "StartUpRedPushed";
Enabled Font "StartupRedEnabled";
Pushed Font "StartupRedPushed";
Focused Font "StartupRedFocused";
};
Style "MessageBoxBack" {
Image "StartUpLoadSaveAlphaBack";
};
ButtonStyle "StartUpTonightsGameButton" {
Disabled Image "StartUpPlayOffDisabled";
Pushed Image "StartUpTonightsGamePushedButton";
Enabled Image "StartUpTonightsGameEnabledButton";
Focused Image "StartUpTonightsGameFocusedButton";
Pushed Font "StartUpTonightsGamePushedFont";
Enabled Font "StartUpTonightsGameEnabledFont";
Focused Font "StartUpTonightsGameFocusedFont";
Disabled Font "StartupModeButtonsDisabled";
};
//********************************
// Cursor
//********************************
Cursor "MainCursor" {
Style "MainCursorStyle";
Hotspot [0, 0];
Position [400, 300];
};
//********************************
// Buttons
//********************************
Button "StartUpPlayoff" {
ButtonStyle "StartUpPlayoffStyle";
Position [505, 157];
Disabled;
String "playoffs" {
Justify CenterCenter;
Position [80, 16];
};
};
Button "StartUpSeason" {
ButtonStyle "StartUpSeasonStyle";
Position [502, 97];
Disabled;
String "season play" {
Justify CenterCenter;
Position [80, 16];
};
};
Button "StartUpSingleGame" {
ButtonStyle "StartUpSingleGameStyle";
Position [493, 37];
Default;
String "single game" {
Justify CenterCenter;
Position [80, 16];
};
Clicked Action SetGameType SingleGame;
//Set the home and away teams to start (Utah and Chicago)
Clicked Action {SetData "VisitorTeamSelection" 0;};
Clicked Action {SetData "HomeTeamSelection" 1;};
//Reset the away team in case it was being blocked by the home team the first time
Clicked Action LoadCurrHomeStrategySettings "HomeTeamSelection";
Clicked Action LoadCurrAwayStrategySettings "VisitorTeamSelection";
Clicked Action { SetData "SingleNavBarTeamSelectButton" Enabled; };
Clicked Action {
Goto Group Global "StartUpSingleGameParent";
};
};
Button "StartUpLoadSaveDelete" {
ButtonStyle "StartUpLoadSaveDeleteStyle";
Position [414, 378];
Disabled;
String "Load Game" {
Justify CenterCenter;
Position [70, 9];
};
Clicked Action {
SetData "LoadLoadButton" Disabled;
};
Clicked Action {
SetData "LoadDeleteButton" Disabled;
};
Clicked Action {
SetData "LoadGameToSaveName" "";
};
Clicked Action {
PopUp Group Global "StartUpLoadParent";
};
};
Button "StartUpPractice" {
ButtonStyle "StartUpLoadSaveDeleteStyle";
Position [459, 340];
Disabled;
String "Practice" {
Justify CenterCenter;
Position [70, 9];
};
};
Button "StartUpHidden" {
ButtonStyle "StartUpHiddenButton";
Position [0, 550];
Clicked Action {
Popup Group "Hidden";
};
};
Button "StartUpOptions" {
ButtonStyle "StartUpLoadSaveDeleteStyle";
Position [355, 416];
String "Options" {
Justify CenterCenter;
Position [70, 9];
};
Clicked Action {
Popup Group "OptionsParent";
};
};
//Button "StartUpTeamEditor" {
// ButtonStyle "StartUpTeamEditorStyle";
// Position [508, 370];
// String "Team Editor" {
// Justify CenterCenter;
// Position [68, 9];
// };
//};
//********************************
// Groups
//********************************
Group Global "Startup" {
Root;
Position [0, 0];
GroupStyle "StartupStyle";
Children {
Button "StartUpSingleGame";
Button "StartUpSeason";
Button "StartUpPlayoff";
Include "UIScript\mainquit";
Button "StartUpLoadSaveDelete";
Button "StartUpPractice";
Button "StartUpOptions";
Button "StartUpHidden";
Button "StartUpTonightsGameButton" {
ButtonStyle "StartUpPlayoffStyle";
Position [492, 218];
disabled;
String "Tonight's Game" {
Justify CenterCenter;
Position [80, 16];
};
Clicked Action {
Popup Group Global "TeamSelectTonightsGameParent";
};
};
};
Activate Action {SetCurrOverviewHelp "Startup";};
Activate Action {SetData "CurrContextHelpID" "Startup_Menu";};
};
Group Global "StartUpSingleGameParent" {
Children {
Include "UIScript\SingGame";
};
};
Group "Hidden" {
Children {
Include "UIScript\Hidden";
};
};
Group "OptionsParent" {
Children {
Include "UIScript\Options";
};
};
Group Global "GeneralMessageBox" {
Style "MessageBoxBack";
Children {
Group "GeneralMessageBox2" {
Position [70, 80];
Children {
Include "UIScript\popup";
};
};
};
};
Group Global "GraphicsIntroPopup" {
Children {
Include "UIScript\GrpPopup";
};
};